@import url('./normalize.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: PingFangSC-regular, Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
}

body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  background-color: #f2f2f2;
  color: #000;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.search-bg {
  background-color: #ccc !important;

  .login {
    color: #000 !important;
  }
}

.search-box {
  position: fixed;
  left: 50%;
  top: 0;
  height: 44px;
  width: 100%;
  max-width: 540px;
  transform: translateX(-50%);
  background: #7e95a5;
  // background: linear-gradient(top, rgba(0,0,0,.1), transparent  );
  display: flex;

  .search {
    flex: 1;

    .search-index {
      position: relative;
      height: 28px;
      background-color: #f2f2f2;
      margin: 8px 10px 5px 15px;
      border-radius: 15px;
      padding: 5px 0 2px 30px;
      color: #666;

      span::before {
        content: "";
        position: absolute;
        top: 7px;
        left: 10px;
        height: 15px;
        width: 15px;
        background: url(./home-common-sprite2x@v7.15.png) no-repeat 0px 0px;
        background-size: 21px auto;
      }
    }
  }

  .login {
    height: 44px;
    width: 51px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #f2f2f2;

    &::before {
      content: "";
      height: 22px;
      width: 22px;
      padding-bottom: 3px;
      display: block;
      background: url(./home-common-sprite2x@v7.15.png) no-repeat 1px -36px;
      background-size: 22px auto;
    }
  }
}

.slider {
  width: 100%;
  overflow: hidden;
  margin-top: 44px;

  img {
    width: 100%;
    border-bottom-right-radius: 45px;
    border-bottom-left-radius: 45px;
  }
}


.local-nav {
  position: relative;
  z-index: 2;
  background-color: #fff;
  margin: -52px 12px 10px;
  border-radius: 14px;

  ul {
    height: 63px;
    padding: 5px 10px;
    display: flex;

    li {
      position: relative;
      flex: 1;
      font-size: 12px;
      display: flex;
      justify-content: center;
      align-items: center;

      span::before {
        content: "";
        display: block;
        // transform: translateX(5px);
        width: 40px;
        height: 40px;
        background: url(./home-fivemain-sprite2x@v7.15.png) no-repeat;
        background-position: 0px 0px;
        background-size: 40px auto;
      }
    }

    li:nth-child(2) span::before {
      background-position: 0px -40px;
    }

    li:nth-child(3) span::before {
      background-position: 0px -80px;
    }

    li:nth-child(4) span::before {
      background-position: 0px -120px;
    }

    li:nth-child(5) span::before {
      background-position: 0px -160px;
    }
  }
}

.nav-entry-gird {
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;

  .nav-hotel {
    flex: 1;
    border-bottom: 1px solid #fff;
    display: flex;
    justify-content: center;
    font-size: 14px;
    background: -webkit-linear-gradient(left, #fb6155, #ffcf51);

    a {
      color: #fff;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    a:nth-child(1) {
      width: 31%;
      border-right: 1px solid #fff;

      span {
        display: block;
        transform: translateX(-50px);
      }
    }

    a:nth-child(2) {
      width: 23%;
      border-right: 1px solid #fff;
    }

    a:nth-child(3) {
      width: 46%;
    }
  }

  .nav-flight {
    flex: 1;
    border-bottom: 1px solid #fff;
    background: -webkit-linear-gradient(left, #4c93ed, #53b9ed) !important;
  }

  .nav-travel {
    flex: 1;
    background: -webkit-linear-gradient(left, #3bc4a0, #6ad459) !important;
  }

  .nav-travel,
  .nav-flight {
    flex: 1;
    display: flex;
    justify-content: center;
    font-size: 14px;
    background: -webkit-linear-gradient(left, #fb6155, #ffcf51);

    a {
      color: #fff;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    a:nth-child(1) {
      width: 31%;
      border-right: 1px solid #fff;

      span {
        display: block;
        transform: translateX(-50px);
      }
    }

    a:nth-child(2) {
      width: 23%;
      border-right: 1px solid #fff;
    }

    a:nth-child(3) {
      width: 23%;
      border-right: 1px solid #fff;
    }

    a:nth-child(4) {
      width: 23%;
    }
  }
}

.subnav-entry {
  ul {
    height: 120px;
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;

    li {
      width: 20%;

      span {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
        justify-content: center;
      }

      span::before {
        content: "";
        display: block;
        height: 28px;
        width: 28px;
        margin-bottom: 5px;
        background: url(./un_ico_subnav2x@v7.33.png) no-repeat;
        background-size: 28px auto;
        background-position: 0 0;
      }

    }

    li:nth-child(2) span::before {
      background-position: 0 -28px;
    }

    li:nth-child(3) span::before {
      background-position: 0 -56px;
    }

    li:nth-child(4) span::before {
      background-position: 0 -84px;
    }

    li:nth-child(5) span::before {
      background-position: 0 -112px;
    }

    li:nth-child(6) span::before {
      background-position: 0 -140px;
    }

    li:nth-child(7) span::before {
      background-position: 0 -168px;
    }

    li:nth-child(8) span::before {
      background-position: 0 -196px;
    }

    li:nth-child(9) span::before {
      background-position: 0 -224px;
    }

    li:nth-child(10) span::before {
      background-position: 0 -252px;
    }

    li:nth-child(2) span::before {
      background-position: 0 -280px;
    }

    li:nth-child(2) span::before {
      background-position: 0 -28px;
    }

    li:nth-child(2) span::before {
      background-position: 0 -28px;
    }

  }
}

.tool-box {
  height: 123px;

  .tool-cn {
    height: 61px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;

    ul {
      display: flex;

      li {
        flex: 1;
        height: 61px;
        display: flex;
        justify-content: center;
        align-items: center;

        a {
          font-size: 14px;
        }
      }
    }
  }
}